//Eg2-17.cpp
#include<iostream.h>
int abs(int x)
{
	return x>0?x:-x;
}
float abs(float x) 
{
	return x>0?x:-x;
}
double abs(double x) 
{
	return x>0?x:-x;
}
void main(){
	cout<<abs(-9)   <<endl;
	cout<<abs(-9.9f) <<endl;
	cout<<abs(-9.8)  <<endl;
}

